<template>
  <div id="app" @click="clicked">
    <keep-alive>
      <router-view/>
    </keep-alive>
    <template><span v-loading.fullscreen.lock="Loading"></span></template>
  </div>
</template>

<script>
export default {
  name: 'App',
  computed: {
    Loading() {
      return this.$store.state.login.Loading
    },
  },
  data (){
    return {
      timeOut: '',
    }
  },
  methods:{
    clicked () {
      let that = this;
      clearInterval(that.timeOut);
      that.timeOut = setInterval(function () {
        that.$router.push({name: "login", params: {userId: 123}})
      },1000 * 60 * 10)
    },

  },
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
body,html{
  margin: 0;
  padding: 0;
}

.breadcrumb{
  background-color: white;
  height: 20px;
  line-height: 20px;
  padding: 15px;
  font-size: 14px;
  border-bottom: solid 1px #EDEDED;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: white;
}


/*定义滚动条轨道 内阴影+圆角*/

::-webkit-scrollbar-track {
  /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); */
  border-radius: 8px;
  background-color: white;
}


/*定义滑块 内阴影+圆角*/

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  background-color: #555; */
  width: 8px;
  height: 8px;
  background: rgba(225, 228, 229, 1);
}
.el-input__inner .gc{
  border: none;
  margin-left: -9px;
}
.schedule .item:first-child .el-input__inner, .gc{
  border: none;
  margin-left: -9px;
  color: #67C23A;
}
.admin-body{
  min-width: 600px;
}
.kz_search .el-input__inner {
  border-color: #409EFF;
}

.kz_search .el-input-group__append {
  background-color: #409EFF !important;
  border-radius: 0 3px 3px 0;
  border-color: #409EFF;
  color: #ffffff;
}
</style>
